import 'package:flutter/material.dart';
import 'package:aweb5/base/BaseWidget.dart';

class PayFailed extends BaseWidget {
  @override
  State<PayFailed> createState() => PayFailedState();
}

class PayFailedState extends BaseWidgetState<PayFailed> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: appBarWithBack("支付失败"),
      body: detail(),

    );
  }
  Widget detail(){
    return Center(
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          Image.asset("assets/zhifushibai.png",width: 140,height: 140,),
          SizedBox(height: 36,),
          Text("支付失败",style: TextStyle(color: Color(0xff2d2d2d),fontSize: 18),),
          SizedBox(height: 36,),
          InkWell(
            child:Container(
              alignment: Alignment.center,
              width: 149,height: 30,decoration: BoxDecoration(color: Color(0xffff8900),borderRadius: BorderRadius.circular(10)),child: Text("重新支付",style: TextStyle(color: Color(0xffffffff)),),) ,
          ),

        ],
      ),

    );
  }
}